<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="contxt" scope="page" value="${pageContext.request.contextPath}" />

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!doctype html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>新荣牧业</title>
<meta name="description" content="新荣牧业,新荣木业,辛店种猪,河南种猪,出售种猪,生猪,猪仔" />
<meta name="keywords" content="新荣牧业,新荣木业,辛店种猪,河南种猪,出售种猪,生猪,猪仔" />
<link href="<%=request.getContextPath()%>/css/master.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/css/base.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/css/product.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.SuperSlide.2.1.1.js"></script>
</head>

<body>
	<jsp:include page="./head.jsp" />
	<div class="main clearfix ofHidden block yh">
		<!--左侧-->
		<div class="sidebar fleft">
			<div class="title">快捷导航</div>
			<ul class="menu news-nav">
				<li><a href="<%=request.getContextPath()%>/news">所有新闻</a>
				</li>
				<li><a href="<%=request.getContextPath()%>/news?type=ADVANCE">行业动态</a>
				</li>
				<li><a href="<%=request.getContextPath()%>/news?type=COMPANY">公司新闻</a>
				</li>
				<li><a href="<%=request.getContextPath()%>/news?type=SKILL">科技交流</a>
				</li>

			</ul>
			<div class="title mt10">联系我们 Contact</div>
			<div class="contact_nr">
				<p>
					<b class="f15">河南新荣牧业有限公司</b>
				</p>
				<p>手机：13703937385</p>
				<p>固话：0371-62522199</p>
				<p>地址：河南省郑州市新郑市辛店镇 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 辛店村</p>
				<p>网址：www.xinrongmuye.cn</p>
			</div>

		</div>
		<!--右侧-->
		<div class="main_right fright">
			<div class="title clearfix">
				<font class="yh f16">公司新闻</font><span class="fright f12"><a href="<%=request.getContextPath()%>/index">网站首页></a > <a href="<%=request.getContextPath()%>/news">新闻中心</a> </span>
			</div>
			
			
			<ul class="text_list">
				<c:forEach items="${newsPage.list}" var="x" varStatus="index">
					<li>> <span>${x.create_time}</span><a href="<%=request.getContextPath()%>/news/detail?nid=${x.id}">${x.title}</a>
					</li>
				</c:forEach>
			</ul>
			<div class="page clearfix">
				<div>
					<c:set var="pageNumber" scope="request" value="${newsPage.pageNumber}" />
					<c:set var="pageSize" scope="request" value="${newsPage.pageSize}" />
					<c:set var="totalPage" scope="request" value="${newsPage.totalPage}" />
					<c:set var="totalRow" scope="request" value="${newsPage.totalRow}" />
				
					<c:set var="pageUrl" scope="request" value="${contxt}/news?pageNum=" />
					
				
					<jsp:include page="./common/page.jsp" />
				</div>
			</div>

		</div>
	</div>
	<jsp:include page="./foot.jsp" />
	<script src="<%=request.getContextPath()%>/js/all.js" type="text/javascript"></script>
</body>
</html>

